package com.example.lemis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.lemis.model.domain.Banner;
import com.example.lemis.model.dto.BannerDTO;
import jakarta.validation.constraints.Null;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2025-06-24
 */
public interface BannerMapper extends BaseMapper<Banner> {

    void insert1(@Param("ber") Banner banner);

    Page<BannerDTO> BannerList(@Param("page") Page<BannerDTO> page,@Param("bandto") BannerDTO bannerDTO);
}
